#pragma once
#include "stmt.h"
#include "Assignable.h"
#include "Expr.h"
#include "vm.h"

class For :
    public Stmt
{
public:
    For(Assignable *_var, Expr *_first, Expr *_last, Expr *_step, int _ln);
    virtual ~For(void);

    virtual int Eval();

private:
    Assignable *var;
    Expr *first;
    Expr *last;
    Expr *step;
};

